package com.dashboard.event.entity;

import com.dashboard.entity.WarningJob;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;
import org.springframework.context.ApplicationEvent;

import java.util.List;

/**
 * @author xuxiao
 */
@Getter
@Setter
@ToString
public class HotListSpringEventEntity extends ApplicationEvent {

    private List<WarningJob> warningJobList;

    public HotListSpringEventEntity(List<WarningJob> warningJobList) {
        super(warningJobList);
        this.warningJobList = warningJobList;
    }

    public HotListSpringEventEntity(Object source) {
        super(source);
    }
}
